home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / SCRIPTZ / HIRO.ZIP / aliases.ini next >
INI File  |  1997-01-12  |  31KB  |  437 lines

  1. [Aliases]
  2. n0=;<==[ ShortCuts ]==>
  3. n1=/op /mode # +ooo $$1 $2 $3
  4. n2=/dop /mode # -ooo $$1 $2 $3
  5. n3=/j /join #$$1
  6. n4=/p /part #
  7. n5=/w /whois $$1
  8. n6=/k /kick # $$1
  9. n7=/q /query $$1
  10. n8=/send /dcc send $1 $2
  11. n9=/chat /dcc chat $1
  12. n10=/ping /ctcp $$1 ping
  13. n11=/op /mode #+o
  14. n12=/deop /mode #+o
  15. n13=/math set %math $1 $2 $3 | if (($len($1) > 10) || ($len($3) > 10)) echo 6 $active Oh come on now, Im now mathematician! | else echo 6 $active The anºwer for  $+ $1 $2 $3 $+  is %math   
  16. n14=F1 /join $$?="Enter Channel to join:"
  17. n15=F2 /ignore $$?="Enter nick to ignore:" 3
  18. n16=F3 /ignore -t *!*@* | echo 12 -a Ignoring all Ctcp'º, hit F4 to Un-ignore
  19. n17=F4 /ignore -r *!*@* 
  20. n18=F5 /nick $readini mirc.ini mIRC nick
  21. n19=;<==[ Scans ]==>
  22. n20=/clones {
  23. n21=  set %params $1 | unset %c %c.* | set %c.msg $readini hiro.ini settings clonekicker | set %c.clones 0 | remini clones.ini clones  
  24. n22=  %c.msg ºearching for cloneº on  $+ $active $+  ... 
  25. n23=  :clones | inc %c | if (%c > $nick(0,$active)) goto end  
  26. n24=  if ($address($nick(%c,$active),2) == $null) { .enable #scans | %c.msg ((hiroºcript)) ErrOR!  Updating IAL and restarting ((hiroºcript)) | writeini hiro.ini settings IAL ON | /who $active | halt } | else writeini hiro.ini settings IAL OFF
  27. n25=  if ($readini clones.ini clones $address($nick(%c,$active),2) != $null) { inc %c.clones | set %c.temp $readini clones.ini clones $address($nick(%c,$active),2) | set %c.names2 %c.names2 $nick(%c,$active) |  set %c.names %c.names  $nick(%c,$active) $+ (Matched %c.temp $+ ) }
  28. n26=  writeini clones.ini clones $address($nick(%c,$active),2) $nick(%c,$active)  
  29. n27=  goto clones | :end | if (%c.clones == 0) { %c.msg No Cloneº Found on  $+ $active $+  | halt }
  30. n28=  %c.msg Cloneº Found on  $+ $active $+ -- $chr(124) $+ %c.clones $+ $chr(124) | %c.msg Nameº: %c.names
  31. n29=  if ((b isin *1) && ($me isop #)) { %c.msg <Flushing Clones NOW> | /masskban %c.names2 } | elseif  (k isin *1) && ($me isop #) { %c.msg <Flushing Clones NOW> | /masskick %c.names2 }
  32. n30=}
  33. n31=/pscan {
  34. n32=  .enable #scans 
  35. n33=  if ($1 == $null) { echo 4 Error in /pscan  | echo 6 Syntax: /pscan <nick> < -e optional> | disable #scans | halt }  
  36. n34=  whois $$1 | who $$1 | set %iop No |  unset %idle %idle1 %idle2
  37. n35=  set %pscan ON | set %away  No |  if ($2 == -e) set %msg echo 6 $active | else set %msg msg $active | set %Idle  None |  set %statnick $$1 |  set %user none | set %idle3 None
  38. n36=} 
  39. n37=cscan { 
  40. n38=  enable #scans  
  41. n39=  if ($1 == $null) { set %scanchan $channel(1) | echo 4 Error in /cscan | echo 6 Syntax: /cscan <#channel> (if no channel is chosen, it will scan the first channel opened) | disable #scans }
  42. n40=  else set %scanchan #$1 
  43. n41=  if ($2 == -e) set %msg /echo 6 $active | else set %msg /msg #    
  44. n42=  set %people 0 | set %ops 0 | set %nonops 0 | set %awayppl 0 | set %iops 0 | set %voice 0    
  45. n43=  who %scanchan | set %cbot None |  set %cscan ON |  set %scanchan1 #
  46. n44=  unset %iopnames %cppl2 %clones | set %cppl 0 
  47. n45=}
  48. n46=clist {
  49. n47=  enable #scans 
  50. n48=  if ($1 == $null) { echo $rand(1,6) Error in /clist | echo $rand(1,6)  Syntax: /clist <#channel> or /clist -n <nickname> or /clist <*site*>  | disable #scans | halt }
  51. n49=  if (-e isin *1) set %msg /echo 6 $active | else set %msg /msg $active
  52. n50=  set %clist ON | unset %*del21 %csnames %sites %cs1| set %cs 0
  53. n51=  if ($1 != -n) { %msg Searching for clones on  $+ $$1 $+  $+ .... | set %search $$1 | who $$1 }
  54. n52=  else { set %n ON | whois $$2 | %msg Searching for clones of  $+ $$2 $+  $+ ....  }
  55. n53=} 
  56. n54=oplist {
  57. n55=  enable #scans 
  58. n56=  if (-e isin *1) set %msg echo 6 $active | else set %msg /msg $active 
  59. n57=  set %awayops 0 | set %oplist on | set %perc1 0 | set %sops $remove($1,-e)
  60. n58=  if %sops != $null  %msg Searching for IRCops on  $+ %sops $+  
  61. n59=  else { set %sops 0 o | %msg Searching for IRCops on IRC.... }
  62. n60=  unset %ops %opsnames %awayops %perc | who %sops
  63. n61=}
  64. n62=;<==[ Fun Stuff ]==>
  65. n63=vote {  
  66. n64=  if *1 == $null || ^ !isin *1 { echo 4 Error in /vote | echo 6 Syntax: /vote .....<text>....<^first paramter^>....<^second parameter^> (do not forget ^'s) | halt }
  67. n65=  unset %totv 
  68. n66=  if (-m isin *1) { set %votetext $remove(*1,-m) | set %msg amsg }
  69. n67=  else set %msg /msg $active
  70. n68=  set %111 0 | set %121 0 | enable #vote | set %votetxt $remove(*1, ^) | set %12 $token(4,94,*1) 
  71. n69=  set %11 $token(2,94,*1)  
  72. n70=  %msg %votetxt /msg $me %12 to vote for %12 or %11 to vote for %11 ((hiroºcript))
  73. n71=  timer 1 90 /vote1
  74. n72=}
  75. n73=numgame {
  76. n74=  set %mult OFF | unset %*4rdt | disable #floodpro
  77. n75=  if ($1 == -m) {
  78. n76=    set %mult ON
  79. n77=    amsg  Game: Im thinking of a Number between 1 and 500 What is it? Just write #= Then the Number here i.e. #= 45. ((hiroºcript number game v1.4 by Hiro101))
  80. n78=    enable #game | set %number $rand(1,500) | amsg each person has 15 guesses
  81. n79=  }  
  82. n80=  else { 
  83. n81=    msg # Game: Im thinking of a Number between 1 and 500 What is it? Just write #= Then the Number here i.e. #= 45. ((hiroºcript number game v1.4 by Hiro101))
  84. n82=    enable #game |  set %number $rand(1,500) | msg # each person has 15 guesses
  85. n83=  }
  86. n84=}
  87. n85=scram {
  88. n86=  if ($len($1) > 8) { echo 12 -a Error! Please do not use more then 8 characters. | halt }  
  89. n87=  if $1 == $null { echo 4 Error in /scram | echo 6 Syntax: /scram <word to be scrambled> | halt }  
  90. n88=  set %sct1 A | set %scramword $1 | set %rantime $rand(1,35)
  91. n89=  unset %sct %sctext %sclen 
  92. n90=  timer $+ [ %rantime ] 1 90 msg # BZZzzztt.. Time is up, no one guessed it, the word %sct was %scramword 
  93. n91=  :scram
  94. n92=  set %sc $rand(1, [ $len(%scramword) ] )
  95. n93=  if (%sc isin %sct1) goto scram
  96. n94=  set %sctext $mid(%sc,1,%scramword) | set %sct1 %sct1 %sc | set %sct $remove(%sct,$chr(32))  
  97. n95=  set %sct %sct  %sctext |   inc %sclen 
  98. n96=  if (%sclen == $len(*1)) goto say 
  99. n97=  goto scram
  100. n98=  :say
  101. n99=  set %sct $remove(%sct,$chr(32)) 
  102. n100=  say Game: Unscramble This word:: ((( %sct ))) , 1╜ minutes to guess the word.  type word= <word> to guess!   ((hiroºcript)) 
  103. n101=  enable #scramble | halt
  104. n102=}
  105. n103=clo { 
  106. n104=  unset %anything | set %fscore $readini hiro.ini clo score
  107. n105=  :reroll
  108. n106=  set %die1 $rand(1,6) | set %die2 $rand(1,6) | set %die3 $rand(1,6) | set %dienums A $+ %die1 $+ %die2 $+ %die3
  109. n107=  echo 6 You rolled a %die1 $+ , a %die2 $+ , and a %die3  
  110. n108=  if (4 isin %dienums) && (5 isin %dienums) && (6 isin %dienums) { set %score 25 | set %anything yes } 
  111. n109=  if (%anything != yes) { 
  112. n110=    if (1 isin %dienums) && (2 isin %dienums) && (3 isin %dienums) { set %score 0 | set %anything yes }
  113. n111=  }
  114. n112=  if (%anything != yes) { 
  115. n113=    if (%die1 != 1) {  
  116. n114=      if (%die1 == %die2) && (%die1 == %die3) { set %score [ 4 * %die1 ] | set %anything yes | set %trip on }
  117. n115=    }    
  118. n116=    elseif (%die1 == 1) && (%die2 == 1) && (%die3 == 1) set %score 7  
  119. n117=  } 
  120. n118=  if (%anything != yes) {
  121. n119=    if (%die1 == %die2) { set %score %die3 | set %anything yes } | if (%die1 == %die3) { set %score %die2 | set %anything yes } | if (%die2 == %die3) { set %score %die1 | set %anything yes } 
  122. n120=  }
  123. n121=  if (%anything == $null) { echo 6 You rolled nothing. Taking 3 pts off your score. | set %fscore [ %fscore - 3 ] | goto reroll  }
  124. n122=  else { if (%score == 25) set %fscore [ %fscore + 12 ]  | if (%score == 20) set %fscore [ %fscore + 11 ] | if (%score == 16) set %fscore [ %fscore + 10 ] | if (%score == 12) set %fscore [ %fscore + 9 ] 
  125. n123=    if (%score == 8) set %fscore [ %fscore + 8 ] | if (%score == 7) set %fscore [ %fscore + 7 ] | if (%score == 6) set %fscore [ %fscore + 6 ] | if (%score == 5) set %fscore [ %fscore + 5 ]  
  126. n124=    if (%score == 4) set %fscore [ %fscore + 4 ]  | if (%score == 3) set %fscore [ %fscore + 3 ]  | if (%score == 2) set %fscore [ %fscore + 2 ]  | if (%score == 1) set %fscore [ %fscore + 1 ]
  127. n125=  }  
  128. n126=  echo 6 Your score is %fscore | writeini hiro.ini clo score %fscore 
  129. n127=}
  130. n128=/flip set %ranside $rand(1,2) | if (%ranside == 1) set %coin Heads | if (%ranside == 2) set %coin Tails | if (%coin == $1) echo 6 $active You are right!  It was %coin | else echo 6 $active Bzzt!  It was %coin not $1 $+ .  
  131. n129=;<==[ Talkers ]==>
  132. n130=/elite /dde elite elite elitein *1
  133. n131=bt {
  134. n132=  if $1 == $null { echo 4 Error in /bt | echo 6 Syntax: /bt <text> | halt }
  135. n133=  unset %b %bt | set %b $len(*1) | set %chr32 $chr(32) 
  136. n134=  :next | set %test $mid(%b,1,*1)  | if (%b == -1) goto talk | dec %b  
  137. n135=  if (%test == %chr32) { set %bt %bt  | goto next }
  138. n136=  else { set %bt %bt %test | goto Next }
  139. n137=  :talk | set %bt $remove(%bt,$chr(32)) | set %bt $replace(%bt,,$chr(32)) | say %bt | halt
  140. n138=}
  141. n139=rct {
  142. n140=  if *1 == $null { echo 4 Error in /rct | echo 6 Syntax: /rct <text> | halt }  
  143. n141=  set %chr32 $chr(32) | set %rctext *1
  144. n142=  unset %rc %up1 %up2 %rct2
  145. n143=  :loop
  146. n144=  if (%rc == $len(%rctext)) {  set %rct2 $remove(%rct2,$chr(32)) | set %rct2 $replace(%rct2,,$chr(32) ) | /msg $active %rct2 | halt }
  147. n145=  inc %rc | set %rct1 $mid(%rc,1,%rctext)
  148. n146=  if (%rct1 == %chr32) { set %rct2 %rct2  | goto loop }
  149. n147=  else {
  150. n148=    set %up1 $upper(%rct1) | set %up2 $lower(%rct1) | set %rct2 %rct2 %up [ $+ [ $rand(1,2) ] ]
  151. n149=    goto loop
  152. n150=  }
  153. n151=}
  154. n152=quickey {
  155. n153=  echo 6 Quickey Setting: type in the value of each letter in the dialogue box.  If you wish to stop setting them type DONE . | set %letnum 97  
  156. n154=  :nextletter
  157. n155=  if (%letnum == 123) { echo 6 $active ((hiroºcript))<<<Key Creation is now Complete>>>((hiroºcript)) | set %yn $?="Would you like to view the list of your letters?" | if  (%yn == yes) echo 6 $readini hiro.ini quickey | unset %yn %letnum %letter | halt }  
  158. n156=  set %letter $chr(%letnum) | set %curlet $readini %ini $+ .ini quickey %letter | set %replet $$?="What would you like [ %letter ] to be? [ $+ [ %curlet ] $+ ] " | if (%replet == done) { echo 6  Quickey creation halted.. Letters a through  $+ %letter $+  have been set | halt } | writeini hiro.ini quickey %letter %replet 
  159. n157=  inc %letnum | goto nextletter
  160. n158=}
  161. n159=saykey {
  162. n160=  set %letnum1 97
  163. n161=  :nextlet
  164. n162=  if (%letnum1 == 123) { msg $active %quicktalk | halt }
  165. n163=  set %chrlet $chr(%letnum1) | set %letter1 $readini %ini $+ .ini quickey %chrlet
  166. n164=  if (%letnum1 == 97) %quicktalk = $replace(*1,%chrlet,%letter1) | else { set %quicktalk $replace(%quicktalk,%chrlet,%letter1) }
  167. n165=  inc %letnum1 | goto nextlet
  168. n166=}            
  169. n167=listkey unset %char %value | set %listnum 97 | :nextletter | if (%listnum == 123) halt | set %char  $chr(%listnum) | set %value $readini %ini $+ .ini quickey %char | echo 6 %char $+ = $+ %value | inc %listnum | goto nextletter 
  170. n168=/pl {
  171. n169=  if ($1 == $null) { echo 6 $active Error in /pl | /echo 6 $active Syntax: /pl <text> | halt }  
  172. n170=  set %vowels a e i o u | unset %i %wordlen %plword %leftside %rightside %wordlen2 |  set %line $replace(*1,$chr(32),)
  173. n171=  :pl
  174. n172=  set %count $count(%line,) | set %count1 %count + 1  
  175. n173=  if (%i == %count1 ) { /msg $active %plword | halt } |  inc %i
  176. n174=  set %word $token(%i,127,%line) | set %wordlen $len(%word) | set %wordlen2 %wordlen  - 1  
  177. n175=  if (%wordlen == 1) set %plword %plword %word
  178. n176=  elseif ($left(1,%word) !isin %vowels) { set %rightside $right(%wordlen2,%word) | set %leftword  %rightside $+ $left(1,%word) $+ ay | set %plword %plword %leftword }
  179. n177=  else set %plword %plword %word $+ ay
  180. n178=  goto pl
  181. n179=}
  182. n180=/cap {
  183. n181=  if ($1 == $null) { /echo 6 $active Error in /cap | /echo 6 Syntax: /cap <text> | halt } 
  184. n182=  unset %capword %cword %i %capwordlen %plword %leftside %rightside %capwordlen2 %capcount %capcount1 |  set %capline $replace(*1,$chr(32),)
  185. n183=  :caps
  186. n184=  set %capcount $count(%capline,) | set %capcount1 %capcount + 1  
  187. n185=  if (%i == %capcount1 ) { /msg $active %capword | halt } |  inc %i
  188. n186=  set %cword $token(%i,127,%capline) | set %capwordlen $len(%cword) | set %capwordlen1 %capwordlen - 1
  189. n187=  if (%capwordlen == 1) set %capword %capword $upper(%cword)  
  190. n188=  else set %capword %capword $upper($left(1,%cword)) $+ $right(%capwordlen1,%cword)
  191. n189=  goto caps
  192. n190=}
  193. n191=drunk /msg $active $5 $2 $8 $7 $11 $15 $10 $6 $1 $3 $9 $12 $13 $14 $4 
  194. n192=eoc {
  195. n193=  if ($1 == $null) { /echo 6 Error in /eoc | /echo 6 Syntax: /eoc <text> | halt } 
  196. n194=  unset %i %eoctext | /set %eocline $replace(*1,$chr(32),) | :eoc
  197. n195=  if (%i > $len(%eocline)) { /set %eoctext $remove(%eoctext,$chr(32)) | /set %eoctext $replace(%eoctext,,$chr(32)) | /msg $active %eoctext | halt }
  198. n196=  inc %i | if (2 // %i) set %eoctext %eoctext $upper($mid(%i,1,%eocline)) | else set %eoctext %eoctext $mid(%i,1,%eocline) | goto eoc
  199. n197=}
  200. n198=/rantalk set %rantalk $rand(1,9) | if (%rantalk == 1) /pl *1 | if (%rantalk == 2) /eoc *1 | if (%rantalk == 3) /rct *1 | if (%rantalk == 4) /saykey *1 | if (%rantalk == 5) /cap *1 | if (%rantalk == 6) /bt *1 | if (%rantalk == 7) /drunk *1 | if (%rantalk == 8) /rrt *1 | if (%rantalk == 9) /cool *1
  201. n199=;<==[ Flooding ]==>
  202. n200=/mail unset %*.mail | writeini hiro.ini settings emailsend ON | /set %to.mail $$?="Enter who to send letter to:" | set %from.mail $$?="Enter return address:" | set %msg.mail $$?="Enter message" | /raw -q privmsg $me :DCC CHAT CHAT $readini hiro.ini settings mserver 25
  203. n201=/mailbomb enable #mailbomb | set %letters.mail $$?="Enter how many letters to send:" | set %from.mail $$?="Enter return address:" | set %to.mail $$?="Enter address to bomb:" | set %msg.mail $$?="Enter msg to bomb with:" | /raw -q privmsg $me :DCC CHAT CHAT 3322170163 25
  204. n202=/dccurlbomb .enable #dccurlbomb | dcc chat $$1 | unset %urls
  205. n203=/dccbomb /raw -q privmsg $1 :DCC chat blah 3353362454 19
  206. n204=;<==[ Other ]==>
  207. n205=/rankick /kick # $nick($rand(1,$nick(0,#)),#) RAnDoM PeRºoN kIcK!
  208. n206=/voteconfirm {
  209. n207=  echo 6 $active My databases tell me you would like to be asked to confirm vote requests from Chanbot.  In this dialog box type Y or Yes, to allow the vote to go on, or N or No, to cancel it. | set %voteconfirm $$?="Vote Requeºt, Y or N"
  210. n208=  if (Y isin %voteconfirm) dde chanbot command "" /vote %voteparam
  211. n209=  else dde chanbot command "" /notice %votenick Vote Request DENIED
  212. n210=} 
  213. n211=/numconfirm {
  214. n212=  echo 6 $active My databases tell me you would like to be asked to confirm game requests from Chanbot.  In this dialog box type Y or Yes, to allow the game to go on, or N or No, to cancel it. | set %numconfirm $$?="Game Requeºt, Y or N"
  215. n213=  if (Y isin %numconfirm) dde chanbot command "" /numgame -m
  216. n214=  else dde chanbot command "" /notice %numnick Vote Request DENIED
  217. n215=}
  218. n216=/rancapsnick {
  219. n217=  unset %i %rancapsnick | :nick | inc %i | if (%i > $len($me)) { /set %rancapsnick $remove(%rancapsnick,$chr(32)) | /nick %rancapsnick | /halt }
  220. n218=  set %ranupper1 $upper($mid(%i,1,$me)) | /set %ranupper2 $lower($mid(%i,1,$me))
  221. n219=  set %rancapsnick %rancapsnick %ranupper [ $+ [ $rand(1,2) ] ] | goto nick
  222. n220=}
  223. n221=/massjoin /join $$1 | /join $2 | /join $4 | /join $5 | /join $6
  224. n222=/masskick unset %kick# | :rekick | inc %kick# $ [ $+ [ %kick# ] ] | if ($ [ $+ [ %kick# ] ] == $null) halt | kick $active $ [ $+ [ %kick# ] ] -((hiroºcript))- | goto rekick
  225. n223=/masskban unset %kick# | :rekick | inc %kick# $ [ $+ [ %kick# ] ] | if ($ [ $+ [ %kick# ] ] == $null) halt | kick $active $ [ $+ [ %kick# ] ] -((hiroºcript))- | set %kaddress $ [ $+ [ %kick# ] ] | mode $active +b $address(%kaddress,4) | goto rekick
  226. n224=/perform /play -c $me $mircdirPerform.txt 0
  227. n225=/kickall {
  228. n226=  unset %knicks 
  229. n227=  set %kickchan $active | if (-b isin *1) set %kickban ON | if ($me !isop %kickchan) { echo 6 $active ErroR! You must be opped for this to work! | halt }
  230. n228=  :knicks | inc %knicks 
  231. n229=  if (%kickban == ON) && ($$1 == +o) {
  232. n230=    if ($opnick(%knicks,%kickchan)  == $me) ||  ($opnick(%knicks,%kickchan)  == W) ||  ($opnick(%knicks,%kickchan)  == X)  goto knicks    
  233. n231=    if (%knicks > $opnick(0,%kickchan)) { echo 6 < $+ %kickchan $+ >--FluSHeD=- | halt } |  mode %kickchan +b $address($opnick(%knicks,%kickchan),4) |  kick %kickchan $opnick(%knicks,%kickchan) ((hiroºcript)) FluShInG OuT %kickchan +o & Banning((hiroºcript))
  234. n232=  } 
  235. n233=  if (%kickban == ON) && ($$1 == -o) {
  236. n234=    if (%knicks > $nopnick(0,%kickchan)) { echo 6 < $+ %kickchan $+ >--FluSHeD=- | halt } | mode %kickchan +b $address($nopnick(%knicks,%kickchan),4) |  kick %kickchan $nopnick(%knicks,%kickchan) ((hiroºcript)) FluShInG OuT %kickchan -o &Banning((hiroºcript)) 
  237. n235=  }
  238. n236=  if (%kickban != ON) && ($$1 == +o) { 
  239. n237=    if ($opnick(%knicks,%kickchan)  == $me) ||  ($opnick(%knicks,%kickchan)  == W) ||  ($opnick(%knicks,%kickchan)  == X)  goto knicks   
  240. n238=    if (%knicks > $opnick(0,%kickchan)) { echo 6 < $+ %kickchan $+ >--FluSHeD=- | halt } |  kick %kickchan $opnick(%knicks,%kickchan) ((hiroºcript)) FluShInG OuT %kickchan +o ((hiroºcript)) 
  241. n239=  }
  242. n240=  if (%kickban != ON) && ($$1 == -o) { 
  243. n241=    if (%knicks > $nopnick(0,%kickchan)) { echo 6 < $+ %kickchan $+ >--FluSHeD=- | halt } | else kick %kickchan $nopnick(%knicks,%kickchan) ((hiroºcript)) FluShInG OuT %kickchan -o ((hiroºcript)) 
  244. n242=  }
  245. n243=  goto knicks
  246. n244=}
  247. n245=/massstuff {
  248. n246=  unset %opsnicks 
  249. n247=  if ($1 == $null) echo 6 Error! Which channel?!?! | if ($2 == $null) echo 6 Error! Voice, unvoice, Op, or deop??!
  250. n248=  if ($me isop $1) {
  251. n249=    if ($2 == +o) {
  252. n250=      :reop
  253. n251=      if (%opsnicks >= $nopnick(0,$1)) halt |  inc %opsnicks  | mode $1 +o $nopnick(%opsnicks,$1) | goto reop
  254. n252=    } 
  255. n253=    if ($2 == -o) { 
  256. n254=      :redeop
  257. n255=      if (%opsnicks >= $opnick(0,$1)) halt | inc %opsnicks | if ($opnick(%opsnicks,$1) == $me) || ($opnick(%opsnicks,$1) == W) || ($opnick(%opsnicks,$1) == X) goto redeop  | mode $1 -o $opnick(%opsnicks,$1) | goto redeop 
  258. n256=    } 
  259. n257=    if ($2 == +v) {
  260. n258=      :revoice
  261. n259=    if (%opsnicks >= $nopnick(0,$1)) halt | inc %opsnicks | mode $1 +v $nopnick(%opsnicks,$1) | goto revoice }
  262. n260=  }  
  263. n261=  if ($2 == -v) { 
  264. n262=    :reunvoice
  265. n263=  if (%opsnicks == $nopnick(0,$1)) halt | inc %opsnicks | mode $1 -v $nopnick(%opsnicks,$1) | goto reunvoice }
  266. n264=}
  267. n265=/nickserver enable #scans | writeini hiro.ini settings nickserver ON | whois $$1
  268. n266=lc {
  269. n267=  unset %hmc2 %hmc | set  %hmc $1 | if ($1 > 6) { echo 6 <That many clones aren't needed> | halt }
  270. n268=  :loadmore |  inc %hmc2  | if (%hmc2 > $1) { echo 6 <<Clones Loaded>> | halt } | run $mircdirmirc32.exe $mircdirbotz/clone $+ %hmc2 $+ .ini | goto loadmore
  271. n269=}
  272. n270=setnotify {
  273. n271=  unset %overs %times %nickname %address  
  274. n272=  set %times $?="How many people will you add to database?"
  275. n273=  :over
  276. n274=  if (%overs == %times) { echo 6 Adding Complete | halt }
  277. n275=  inc %overs | set %nickname $?="Nickname of person number [ %overs ] " | set %address $?="Address of person number [ %overs ] "
  278. n276=  if (%nickname == $null) || (%address == $null) { echo 4 Error in /setnotify | echo 6 Syntax: /setnotify <nick> <address> | halt }
  279. n277=  if ($nick !isnotify) notify %nickname  
  280. n278=  writeini hiro.ini notify %nickname %address | goto over
  281. n279=}
  282. n280=cads {   
  283. n281=  set %matchad $readini hiro.ini notify %nnick
  284. n282=  if (%matchad != $null) {  
  285. n283=    if (%matchad iswm %uhmask) echo 4  -a The real %nnick is on IRC
  286. n284=    else echo 12 -a %nnick is an imposter!  $+ %uhmask $+ 
  287. n285=  }
  288. n286=  else { echo 4 -a Error>>- $+ %nnick is not in database $+ -<< }
  289. n287=  unset %nnick %uhmask %matchad 
  290. n288=  if (%nicks == %z) unset %notify %nicks %z
  291. n289=}
  292. n290=/setaway {
  293. n291=  unset %*.away %away* | if ($1 == $null) set %awayreason  No reason.
  294. n292=  set %away.time 12 $+ $time $+ _/\_ $+ $adate $+  | /nick $readini hiro.ini away nick | set %mins.away $$?="for how long? (mins)" | set %sec.away 60
  295. n293=  enable #awaycount | enable #page 
  296. n294=  set %pageonoff $readini %ini $+ .ini away pager | if (%pageonoff == $null) set %pageonoff ON | if (%pageonoff == on) enable #page | /set %awayreason *1 
  297. n295=  ame Iº AwaY --- Reaºon: $+ %awayreason $+ ---Pager $+ %pageonoff $+  ---4ctcp $me  AWAY to ºee how long I've been gone. 4Eºtimated time to return:  %mins.away  Minuteº 12((hiroºcript))
  298. n296=  unset %awaytimesecs | set %awaytimehrs 0 | set %awaytimemins 0  
  299. n297=  away *1 | /.timer884 0 1 /count | .timer345 0 300 /ame Iº AwaY --- Reaºon: $+ %awayreason $+ ---Pager4 $+ %pageonoff $+  --- 4ctcp $!me  AWAY to ºee how long I've been gone. 4Eºtimated time to return:   $chr(37) $+ mins.away  4  Minuteº   $chr(37) $+ sec.away  ºecondº 12((hiroºcript))
  300. n298=  /timer666 0 1 /decount
  301. n299=}
  302. n300=/setback {
  303. n301=  titlebar ((hiroºcript)) V1.0 By Hiro101 | /nick $readini mIRC.ini mirc nick | set %diffmin.away [ %awaytimemins - %mins.away ]
  304. n302=  ame Iº BacK FroM  $+ %awayreason $+ --waº away for %awaytimemins Minuteº %awaytimesecs Secº. | away | .timer884 off | .timer345 off | .timer666 off
  305. n303=  disable #awaycount | disable #page
  306. n304=} 
  307. n305=;<==[ Aliases that are only called by other aliases ]==>
  308. n306=pscan1 {
  309. n307=  if (%user == none) { 
  310. n308=    %msg   %statnick   ((hiroºcript))
  311. n309=    %msg No such nick, %statnick
  312. n310=    %msg  %statnick   ((hiroºcript)) 
  313. n311=    disable #scans | set %pscan off | halt
  314. n312=  }
  315. n313=  %msg   %statnick   ((hiroºcript))
  316. n314=  %msg  %statnick is %user  
  317. n315=  %msg  Is %statnick Away?: %away 
  318. n316=  %msg   %statnick $+ 's Server: %server  
  319. n317=  %msg  Is %statnick an IRCop?: %iop  
  320. n318=  %msg  %statnick $+ 's Idle Time: %idle3
  321. n319=  %msg  %statnick $+ 's Channels:  %channels  
  322. n320=  %msg   End of Scan on %statnick 
  323. n321=  %msg  %statnick   ((hiroºcript)) 
  324. n322=  disable #scans | set %pscan OFF | set %clist OFF
  325. n323=}
  326. n324=cscan1 {
  327. n325=  if (%people != 0) {     
  328. n326=    %msg    $+ %scanchan $+  ((hiroºcript)) 
  329. n327=    %msg   People in %scanchan $+ : %people
  330. n328=    if (%ops == 0) %msg There are no OPs on %scanchan   
  331. n329=    if (%ops != 0) {
  332. n330=      %msg   Ops $+ : %ops
  333. n331=    } 
  334. n332=    if (%iops == 0) %msg There are on IRCops on %scanchan
  335. n333=    if (%iops != 0) {
  336. n334=      %msg   IRCops $+ : %iops , IRCops names: %iopnames
  337. n335=    }      
  338. n336=    if (%awayppl == 0) %msg There is no one away in %scanchan
  339. n337=    if (%awayppl != 0) {
  340. n338=      %msg   Away people $+ : %awayppl
  341. n339=    }  
  342. n340=    if (%cppl == 0) %msg There are no clones in %scanchan
  343. n341=    if (%cppl != 0) {
  344. n342=      %msg Clones: %cppl , Clones names: %cppl2    
  345. n343=    }      
  346. n344=    if (%voice == 0) %msg There are no voiced users in %scanchan          
  347. n345=    if (%voice != 0) {
  348. n346=      %msg   Voiced Users $+ : %voice 
  349. n347=    }
  350. n348=    if ($me ison %scanchan) {
  351. n349=      %msg   Cservice Bot $+ : %cbot
  352. n350=    }    
  353. n351=    %msg    $+ %scanchan $+    ((hiroºcript))
  354. n352=  }
  355. n353=  if (%people == 0) {
  356. n354=    %msg    $+ %scanchan $+  ((hiroºcript)) | %msg %scanchan doesn't exist. | %msg    $+ %scanchan $+  ((hiroºcript)) 
  357. n355=  }
  358. n356=  set %cscan OFF | set %clist OFF | disable #scans
  359. n357=}
  360. n358=vote1 {
  361. n359=  disable #vote | /unset %vlist | %msg Final Stats:  %11 $+ : %111     %12 $+ : %121
  362. n360=  if (%111 == %121) { %msg It's a tie!! %11 had %111 and %12 had %121 $+ ! | halt }
  363. n361=  if (%121 > %111) { 
  364. n362=    %msg %12 Is the winner!!! | set %MV %121 - %111 | %msg %12 Had %mv more then %11
  365. n363=    set %percent %121 * 100 | set %percent1 %percent / %totv
  366. n364=    %msg % $+ %percent1 People voted for %12 $+ ! | set %percent2 %111 * 100 
  367. n365=    set %percent3 %percent2 / %totv | set %ptotal %percent1 - %percent3 
  368. n366=    %msg % $+ $abs( %ptotal ) more People voted for %12 
  369. n367=  }
  370. n368=  else {  
  371. n369=    %msg %11 Is the Winner!!! | set %mv %111 - %121 | set %percent %111 * 100
  372. n370=    set %percent1 %percent / %totv | %msg % $+ %percent1 People voted for %11 $+ !
  373. n371=    set %percent2 %121 * 100 | set %percent3 %percent2 / %totv | set %ptotal %percent1 - %percent3
  374. n372=    %msg % $+ %ptotal more People voted for %11  ((hiroºcript))
  375. n373=  }
  376. n374=} 
  377. n375=clist1 {
  378. n376=  disable #scans  
  379. n377=  if (%cs < 1) || (%cs == $null) { %msg No clones found on  $+ %search $+  | %msg Clone listing done ((hiroºcript)) }
  380. n378=  else { %msg %cs Clone(s) were found on  $+ %search $+  | %msg Names: %cs1 | %msg Clone listing done ((hiroºcript)) | set %n off }
  381. n379=  set %clist OFF
  382. n380=}
  383. n381=oplist1 {
  384. n382=  if (%awayops > 0) { set %perc [ %awayops * 100 ] | set %perc1 %perc / %ops } 
  385. n383=  if (%ops == $null) %msg No IRCops found
  386. n384=  if (%ops != $null) { %msg  $+ %ops IRCops found... $+ %perc1 $+ % away  | if (%ops < 20) %msg Names: %opsnames $+  | %msg IRCop search complete ((hiroºcript)) }
  387. n385=  disable #scans
  388. n386=}
  389. n387=count inc %awaytimesecs | if (%awaytimesecs == 60) { inc %awaytimemins | /set %awaytimesecs 0 } | if (%awaytimemins == 60) inc %awaytimehrs
  390. n388=person {
  391. n389=  unset %hiroscript %ndatabase | echo 4 Welcome to ((hiroºcript)) V1.0 by Hiro101, This will take you through the set up to maximize ((hiroºcript))'s performance.  There will be a group of Yes or no questions, Input Y or Yes for yes or N or No for no....
  392. n390=  set %hiroscript $?="Personalize system now?" | if (N isin %hiroscript) { echo 6 Okay, if you would like to personalize it later, then type /person | halt }
  393. n391=  echo 6 Hopefully you filled out the required info in the mIRC setup dialog by now, personalization beginning...
  394. n392=  unset %hiroscript | echo 3 First we will start with CTCP, would you like to configure ctcp now? (Y or Yes - No or N) | set %hiroscript $?="cofigure ctcp now?" | if (N isin %hiroscript) { echo 6 CTCP configuration skipped | goto next } | else goto ctcp
  395. n393=  :ctcp | unset %hiroscript | set %hiroscript $?="Auto Ping reply's on?" | if (Y isin %hiroscript) writeini hiro.ini settings pingreply ON | unset %hiroscript | set %hiroscript $?="Ping reply's in active window?" | if (Y isin %hiroscript) /writeini hiro.ini settings pingactive ON
  396. n394=  unset %hiroscript | set %hiroscript $?="All ctcp reply's in active?" | if (Y isin %hiroscript) /writeini hiro.ini settings ctcpactive ON 
  397. n395=  :next | echo 3 Next will be the notify list.. | unset %hiroscript | set %hiroscript $?="configure notify list now?" | if (n isin %hiroscript) goto next1 | echo 3 $active The ((hiroºcript)) Notify database is a database that keeps your friends address's and checks to see if they match when they enter IRC, to see if it's an imposter or not.  Would you like this on?
  398. n396=  unset %hiroscript | set %hiroscript $?="Notify database on?" | if (y isin %hiroscript) { set %ndatabase ON | /enable #notify | goto notify2 } | else  disable #notify
  399. n397=  unset %hiroscript | set %hiroscript $?="mIRC notify list on?" | if (n isin %hiroscript) { /notify off | goto next1 } | unset %hiroscript | set %hiroscript $?="add users now?" | if (n isin %hiroscript) goto next1
  400. n398=  unset %hiroscript | echo 3 This will add users to the notify list | :notify3 | /notify $?="Enter nick:" | /set %hiroscript $?="Add another?" | if (y isin %hiroscript) goto notify3
  401. n399=  :notify2 | unset %hiroscript | if (%ndatabase == ON) setnotify
  402. n400=  :next1 | unset %hiroscript | echo 3 Next is flood protection | set %hiroscript $?="configure flood protection now?" | if (n isin %hiroscript) goto next2
  403. n401=  unset %hiroscript | set %hiroscript $?="All flood protection on?" | if (y isin %hiroscript) { enable #floodpro | enable #protection | writeini hiro.ini protect ctcp ON | writeini hiro.ini protect chan on | writeini hiro.ini protect notice on | writeini hiro.ini protect msg on | goto next2 }
  404. n402=  unset %hiroscript | set %hiroscript $?="CTCP protection on?" | if (n isin %hiroscript) writeini hiro.ini protect ctcp OFF | unset %hiroscript | set %hiroscript $?="Notice flood protection on?" | if (N isin %hiroscript) writeini hiro.ini protect notice OFF | unset %hiroscript | set %hiroscript $?="MSG protection on?" | if (n isin %hiroscript) writeini hiro.ini protect msg ON 
  405. n403=  unset %hiroscript | set %hiroscript $?="Channel protection on?" | if (y isin %hiroscript) writeini hiro.ini protect chan ON
  406. n404=  :next2 | echo 6 Here are some more things to enter, click on cancel to leave blank. | writeini hiro.ini away nick $?="Enter away nickname:" | echo 3 seperate channels by spaces | write Perform.txt /massjoin $?="Enter channels to join on connect:"
  407. n405=  echo 6 ((hiroºcript)) Personalization complete! ((hiroºcript))
  408. n406=}
  409. n407=cleanup unset *.* 
  410. n408=reb {
  411. n409=  set %reb1 97
  412. n410=  :nextlet
  413. n411=  if (%reb1 == 123) { set %rebtalk $replace(%rebtalk,0,µ) | %rebtalk = $replace(%rebtalk,1,╤) | %rebtalk = $replace(%rebtalk,2,α) | %rebtalk = $replace(%rebtalk,3,ß) | %rebtalk = $replace(%rebtalk,4,Γ) | %rebtalk = $replace(%rebtalk,5,ⁿ) | %rebtalk = $replace(%rebtalk,6,╛) | %rebtalk = $replace(%rebtalk,7,2) | %rebtalk = $replace(%rebtalk,8,ú) | %rebtalk = $replace(%rebtalk,9,«) | msg $active ╗ $+ %rebtalk $+ ½  | echo 4 $active *1 | halt }
  414. n412=  set %rebchrlet $chr(%reb1) | set %reblet1 $readini $mircdirrebtalk.ini letters %rebchrlet
  415. n413=  if (%reb1 == 97) %rebtalk = $replace(*1,%rebchrlet,%reblet1) | else { set %rebtalk  $replace(%rebtalk,%rebchrlet,%reblet1)   }
  416. n414=  inc %reb1 | goto nextlet
  417. n415=} 
  418. n416=rrt {
  419. n417=  unset %i | unset %rainbow %face1 %-r | set %rb $replace(*1,$chr(32),) | if (-r isin *1) set %-r ON | set %rb $remove(%rb,-r) | :again
  420. n418=  if (%i > $len(%rb)) {
  421. n419=    set %rainbow $remove(%rainbow,$chr(32)) | set %rainbow $replace(%rainbow,,$chr(32)) | set %rainbow $remove(%rainbow,$null) | msg $active %rainbow  | /halt 
  422. n420=  }
  423. n421=  if (%-r == ON)  {  set %face $rand(1,4) | if (%face == 1) set %face1  | if (%face == 2) set %face1  | if (%face == 3) set %face  }
  424. n422=  inc %i | set %rainbow %rainbow  $+ $rand(2,15) $+ ,1 $+ %face1 $mid(%i,1,%rb) $+  | goto again
  425. n423=}
  426. n424=rnick return $nick($rand(1,$nick(0,$1)),$1)
  427. n425=cool { 
  428. n426=  unset *cool  %i %text.cool
  429. n427=  set %text1.cool $replace(*1,$chr(32),) | set %front.cool $rand(0,15) | set %back.cool %front.cool + $rand(1,15) | if (%back.cool > 15) set %back.cool %back.cool 
  430. n428=  :again | inc %i | if (2 // %i) set %text.cool %text.cool  $+ %back.cool $+ , $+ %front.cool $+ $mid(%i,1,%text1.cool)
  431. n429=  else set %text.cool %text.cool  $+ %front.cool $+ , $+ %back.cool  $+ $mid(%i,1,%text1.cool)
  432. n430=  if (%i == $len(%text1.cool)) { set %text.cool $remove(%text.cool,$chr(32)) | set %text.cool $replace(%text.cool,,$chr(32)) | msg $active %text.cool | halt }
  433. n431=  goto again
  434. n432=}
  435. n433=atime if ($left(2,$time) > 12) { set %atime [ $left(2,$time) - 12 ] | return %atime $+ $right(6,$time) pm } | else return $time am
  436. n434=count2 set %counter $readini hiroscript.ini settings counter | inc %counter | writeini hiroscript.ini settings counter %counter
  437.